<?php
namespace App\Api\Requests;
class OrderRequest extends Request
{
    public function rules()
    {
        return [
            "patient_id" => "required",
            // "address_id" => "required",
            "products" => "required",
            "delivery_type" => "required",
            // "use_price" => "required",
            // "buy_type" => "required",
        ];
    }
    public function messages()
    {
        return [
            "patient_id.required" => "参数错误",
            // "address_id.required" => "参数错误",
            "products.required" => "参数错误",
            "delivery_type.required" => "参数错误",
            // "use_price.required" => "参数错误",
            // "buy_type.required" => "参数错误",
        ];
    }
}
